<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/18
 * Time: 19:24
 */

namespace app\api\model;


class DeviceJpush extends BaseModel
{
    //通过设备号获取极光ID
    public static function getRegId($device_no){
        $reg_id = self::where('device_no',$device_no)->value('jpush_reg_id');
        return $reg_id;
    }
}